﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DevFx.Model;
using System.Data.Objects;

namespace DevFx.Web.Code
{
    public class MenuFO:BaseBiz<Sys_Menu>
    {
        public static List<Sys_Menu> GetMenuList()
        {
            using (Model.Entities db=new Entities())
            {
                IQueryable<Sys_Menu> menu1 = from c in db.Sys_Menu orderby c.OrderNo ascending  select c  ;
                return menu1.ToList();
            }
        }
    }
}